﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Animal
    {
        public int leg { get; set; }

        public void walk()
        {
            Console.WriteLine("我会走路！");
        }
        public void Eat()
        {
            Console.WriteLine("我会吃！");
        }
        public void Sleep()
        {
            Console.WriteLine("我会睡！");
        }
        public virtual void Text()
        {
            
        }

    }
}
